Auto-Scale Text to Fit Controls and ScaleText Property

To support language translations in controls where text is displays, RFgen implemented a feature that automatically scales text font to fits the space in a control. This feature was originally designed support language translations.

If the developer does not want text to be automatically scaled, it can be globally disabled in Configuration > Environment Settings > Auto-Scale Text to Fit Controls.

There is also a ScaleText property which enables or disables this feature on control. Its available for these controls: Button, Checkbox, DateTime, Label, and RadioButton.

The ScaleText property settings on individual controls take precedence over the Configuration > Environment > Auto-Scale Text to Fit Controls settings. If SaleText value is "(Default)" then the value set for the control in themes is used.